package com.gwclh.personnel.service;

import com.gwclh.personnel.bean.ResultVo;
import com.gwclh.personnel.domain.PageDomain;
import com.gwclh.personnel.entity.Department;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 部门表 服务类
 * </p>
 *
 * @author gzhhh
 * @since 2020-07-24
 */
public interface IDepartmentService extends IService<Department> {
  // 分页显示部门
  ResultVo listDepartments(PageDomain pageDomain, Department department);

  // 添加部门
  ResultVo insertDepartment(Department department);

  ResultVo listDeptTree(Department department);

  ResultVo delDept(Integer id);


}
